package org.lanqiao.tjut.bean;

import java.util.Date;
import java.util.List;
import java.util.Map;

public class TBStudentBean {
	private Long stuId;

	private String stuName;

	private String stuSex;

	// @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private Date stuBirthday;

	/*
	 * private String stuAddress;
	 * 
	 * private String stuTel;
	 */

	private String stuImg;

	private Long stuDepartment;

	private Short isdeleted;

	private StuContactBean stuContactB;

	/*
	 * 集合对象lsit和set不能直接写在controller响应方法的参数里表中，可以将其组合在一个实体类中，进行数据绑定
	 * list和set用法是一样的，前台jsp页面可以采用如下的方式进行映射绑定 list属性名[index].子属性名
	 * 例如：lstStuContacts[1].stuAddress
	 */
	private List<StuContactBean> lstStuContacts;

	Map<String, StuContactBean> mapStuContacts;
	
	Map<String, List<StuContactBean>> mapListStuContacts;

	
	public Map<String, List<StuContactBean>> getMapListStuContacts() {
		return mapListStuContacts;
	}

	public void setMapListStuContacts(Map<String, List<StuContactBean>> mapListStuContacts) {
		this.mapListStuContacts = mapListStuContacts;
	}

	public Map<String, StuContactBean> getMapStuContacts() {
		return mapStuContacts;
	}

	public void setMapStuContacts(Map<String, StuContactBean> mapStuContacts) {
		this.mapStuContacts = mapStuContacts;
	}

	public List<StuContactBean> getLstStuContacts() {
		return lstStuContacts;
	}

	public void setLstStuContacts(List<StuContactBean> lstStuContacts) {
		this.lstStuContacts = lstStuContacts;
	}

	public StuContactBean getStuContactB() {
		return stuContactB;
	}

	public void setStuContactB(StuContactBean stuContactB) {
		this.stuContactB = stuContactB;
	}

	public Long getStuId() {
		return stuId;
	}

	public void setStuId(Long stuId) {
		this.stuId = stuId;
	}

	public String getStuName() {
		return stuName;
	}

	public void setStuName(String stuName) {
		this.stuName = stuName == null ? null : stuName.trim();
	}

	public String getStuSex() {
		return stuSex;
	}

	public void setStuSex(String stuSex) {
		this.stuSex = stuSex == null ? null : stuSex.trim();
	}

	public Date getStuBirthday() {
		return stuBirthday;
	}

	public void setStuBirthday(Date stuBirthday) {
		this.stuBirthday = stuBirthday;
	}

	public String getStuImg() {
		return stuImg;
	}

	public void setStuImg(String stuImg) {
		this.stuImg = stuImg == null ? null : stuImg.trim();
	}

	public Long getStuDepartment() {
		return stuDepartment;
	}

	public void setStuDepartment(Long stuDepartment) {
		this.stuDepartment = stuDepartment;
	}

	public Short getIsdeleted() {
		return isdeleted;
	}

	public void setIsdeleted(Short isdeleted) {
		this.isdeleted = isdeleted;
	}

	@Override
	public String toString() {
		return "TBStudentBean [stuId=" + stuId + ", stuName=" + stuName + ", stuSex=" + stuSex + ", stuBirthday="
				+ stuBirthday + ", stuImg=" + stuImg + ", stuDepartment=" + stuDepartment + ", isdeleted=" + isdeleted
				+ ", stuContactB=" + stuContactB + ", lstStuContacts=" + lstStuContacts + ", mapStuContacts="
				+ mapStuContacts + ", mapListStuContacts=" + mapListStuContacts + "]";
	}

	

}